home *** CD-ROM | disk | FTP | other *** search
/ HAKERIS 11 / HAKERIS 11.ISO / linux / system / LinuxConsole 0.4 / linuxconsole0.4install-en.iso / linuxconsole0.4.lcm / local / linuxconsole / share / alsa / cards / ENS1371.conf < prev    next >
Encoding:
Text File  |  2004-03-26  |  1.5 KB  |  118 lines

  1. #
  2. # Configuration for the ENS1370 chip
  3. #
  4.  
  5. <confdir:pcm/front.conf>
  6.  
  7. ENS1371.pcm.front.0 {
  8.     @args [ CARD ]
  9.     @args.CARD {
  10.         type string
  11.     }
  12.     type hw
  13.     card $CARD
  14.     device 0
  15. }    
  16.  
  17.  
  18. <confdir:pcm/rear.conf>
  19.  
  20. ENS1371.pcm.rear.0 {
  21.     @args [ CARD ]
  22.     @args.CARD {
  23.         type string
  24.     }
  25.     type hooks
  26.     slave.pcm {
  27.         type hw
  28.         card $CARD
  29.         device 1
  30.     }
  31.     hooks.0 {
  32.         type ctl_elems
  33.         hook_args [
  34.             {
  35.                 interface MIXER
  36.                 name "AC97 2ch->4ch Copy Switch"
  37.                 lock true
  38.                 preserve true
  39.                 value 0
  40.             }
  41.         ]
  42.     }
  43. }    
  44.  
  45. <confdir:pcm/surround40.conf>
  46.  
  47. ENS1371.pcm.surround40.0 {
  48.     @args [ CARD ]
  49.     @args.CARD {
  50.         type string
  51.     }
  52.     type multi
  53.     slaves [
  54.         {
  55.             pcm {
  56.                 @func concat
  57.                 strings [ "cards.ENS1371.pcm.front.0:CARD=" $CARD ]
  58.             }
  59.             channels 2
  60.                 }
  61.         {
  62.             pcm {
  63.                 @func concat
  64.                                 strings [ "cards.ENS1371.pcm.rear.0:CARD=" $CARD ]
  65.             }
  66.             channels 2
  67.         }
  68.     ]
  69.     bindings [
  70.         { slave 0 channel 0 }
  71.         { slave 0 channel 1 }
  72.         { slave 1 channel 0 }
  73.         { slave 1 channel 1 }
  74.     ]
  75. }
  76.                                         
  77. <confdir:pcm/iec958.conf>
  78.  
  79. ENS1371.pcm.iec958.0 {
  80.     @args [ CARD AES0 AES1 AES2 AES3 ]
  81.     @args.CARD {
  82.         type string
  83.     }
  84.     @args.DEV {
  85.         type integer
  86.     }
  87.     @args.AES0 {
  88.         type integer
  89.     }
  90.     @args.AES1 {
  91.         type integer
  92.     }
  93.     @args.AES2 {
  94.         type integer
  95.     }
  96.     @args.AES3 {
  97.         type integer
  98.     }
  99.     type hooks
  100.     slave.pcm {
  101.         type hw
  102.         card $CARD
  103.         device 0
  104.     }
  105.     hooks.0 {
  106.         type ctl_elems
  107.         hook_args [
  108.             {
  109.                 interface PCM
  110.                 name "IEC958 Playback PCM Stream"
  111.                 lock true
  112.                 preserve true
  113.                 value [ $AES0 $AES1 $AES2 $AES3 ]
  114.             }
  115.         ]
  116.     }
  117. }
  118.